Test Setup Failed
Push — master ( 8ee19e...25278d )
by recca
05:07 queued 46s
created

composer.js ➔ ???   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 2
b 0
f 0
1
'use strict';
2
3
import Command from './command';
4
5
export default class Composer extends Command {
6
    match(name) {
7
        return name === 'composer';
8
    }
9
10
    call(cmd) {
11
        cmd.command = `composer --command="${this.addslashes(cmd.rest)}"`;
12
        super.call(cmd);
13
    }
14
}
15